package com.gxa.p2p.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Menus {
  private Integer menuId;

  private String menuCode;

  private String parentMenuCode;

  private String menuName;

  private Integer level;

  private String menuClass;

  private String menuUrl;

  private String componentPath;

  private List<Menus> subMenusList;

  public Menus(
      Integer menuId,
      String menuCode,
      String parentMenuCode,
      String menuName,
      Integer level,
      String menuClass,
      String menuUrl,
      String componentPath) {
    this.menuId = menuId;
    this.menuCode = menuCode;
    this.parentMenuCode = parentMenuCode;
    this.menuName = menuName;
    this.level = level;
    this.menuClass = menuClass;
    this.menuUrl = menuUrl;
    this.componentPath = componentPath;
  }

  public Menus() {
    super();
  }
}
